export const accessRoutes = [
  {
    name: '绝区零',
    path: '/绝区零',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '绝区零', icon: 'list', noCache: false, link: null },
    children: [
      {
        name: '仪玄',
        path: '仪玄',
        hidden: false,
        component: '绝区零/仪玄/index',
        meta: {
          title: '仪玄',
          icon: 'documentation',
          noCache: false,
          link: null,
        },
      },
    ],
  },

  {
    name: '基础信息维护',
    path: '/基础信息维护',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '基础信息维护', icon: 'list', noCache: false, link: null },
    children: [
      {
        name: '设置管理',
        path: '设置管理',
        hidden: false,
        component: '基础信息维护/设置管理/index',
        meta: {
          title: '设置管理',
          icon: 'documentation',
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: 'System',
    path: '/system',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '系统管理', icon: 'system', noCache: false, link: null },
    children: [
      {
        name: 'User',
        path: 'user',
        hidden: false,
        component: 'system/user/index',
        meta: { title: '用户管理', icon: 'user', noCache: false, link: null },
      },
      {
        name: 'Role',
        path: 'role',
        hidden: false,
        component: 'system/role/index',
        meta: {
          title: '角色管理',
          icon: 'peoples',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'Menu',
        path: 'menu',
        hidden: false,
        component: 'system/menu/index',
        meta: {
          title: '菜单管理',
          icon: 'tree-table',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'Post',
        path: 'post',
        hidden: false,
        component: 'system/post/index',
        meta: { title: '岗位管理', icon: 'post', noCache: false, link: null },
      },
      {
        name: 'Dict',
        path: 'dict',
        hidden: false,
        component: 'system/dict/index',
        meta: { title: '字典管理', icon: 'dict', noCache: false, link: null },
      },
      {
        name: 'Config',
        path: 'config',
        hidden: false,
        component: 'system/config/index',
        meta: { title: '参数设置', icon: 'edit', noCache: false, link: null },
      },
      {
        name: 'Notice',
        path: 'notice',
        hidden: false,
        component: 'system/notice/index',
        meta: {
          title: '通知公告',
          icon: 'message',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'Log',
        path: 'log',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        alwaysShow: true,
        meta: { title: '日志管理', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'Operlog',
            path: 'operlog',
            hidden: false,
            component: 'monitor/operlog/index',
            meta: {
              title: '操作日志',
              icon: 'form',
              noCache: false,
              link: null,
            },
          },
          {
            name: 'Logininfor',
            path: 'logininfor',
            hidden: false,
            component: 'monitor/logininfor/index',
            meta: {
              title: '登录日志',
              icon: 'logininfor',
              noCache: false,
              link: null,
            },
          },
        ],
      },
      {
        name: '数据权限配置',
        path: '数据权限配置',
        hidden: false,
        component: 'system/数据权限配置/index',
        meta: {
          title: '数据权限配置',
          icon: 'lock',
          noCache: false,
          link: null,
        },
      },
    ],
  },
]
